#pragma once

#include <afxcview.h>


// CTFTreeView

class CTransformView;
class CKnotTime;
class CSKObjectMove;
class CSKObjectRotate;

class CTFTreeView : public CTreeView
{
	DECLARE_DYNCREATE(CTFTreeView)

protected:
	CTFTreeView();
	virtual ~CTFTreeView();

public:
	CImageList*				GetImageList() { return &m_oImgLst; }

protected:
	


protected:
	afx_msg int			OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void		OnTvnSelchanged(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void		OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void		OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void		OnVisibility();
	afx_msg void		OnSetTime();
	afx_msg void		OnNew();
	afx_msg void		OnActive();
	afx_msg void		OnDelete();
	afx_msg void		OnKnotMove();
	afx_msg void		OnKnotFitting();
	afx_msg void		OnFamilySolving();
	afx_msg void		OnFamilyAnimation();
	afx_msg void		OnNodeRotate();
	DECLARE_MESSAGE_MAP()

private:
	CMenu*				m_pNodeMenu;
	CMenu*				m_pKnotMenu;
	CMenu*				m_pFamilyMenu;
	CSKObject*			m_pSelSKObject;
	CKnotTime*			m_pSetTime;
	CSKObjectMove*		m_pSKObjectMove;
	CSKObjectRotate*	m_pSKObjectRotate;
	CImageList			m_oImgLst;
public:
	
};